W32: Give unfocused selected list items special background, like Explorer does
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 2 Apr 2014 17:42:31 +0000 (17:42 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Fri, 4 Apr 2014 07:57:16 +0000 (07:57 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=727244

gtk/resources/theme/gtk-win32.css

index ce76a2ba02f87e42ca95cc2c4e182cb8d669c13e..f0fd0b6a583512dbeecdb885a632f0952147941c 100644 (file)
 }
 
 .list-row:selected {
+  background-color: transparent;
   /* Override *:selected {} blanket style, keeping the background - bright
      and the text - dark */
-  background-color: transparent;
   color: @text_color;
+  background-image: -gtk-win32-theme-part(listview, 6 13);
+}
+
+.list-row:selected:focus {
   background-image: -gtk-win32-theme-part(listview, 6 11);
 }